const fightList = () => import('views/fight/fightList') //拼团列表
const fightSubmitOrder = () => import('views/fight/fightSubmitOrder') //拼团详情
const fightDetail = () => import('views/fight/fightDetail') //拼团列表
const fightMore = () => import('views/fight/fightMore') //更多拼团列表
const fightgroupDetail = () => import('views/fight/fight-group-detail') //更多拼团详情
const fightRule = () => import('views/fight/fight-rule') //拼团玩法
const applyExtension = () => import('views/my/myExtension/applyExtension') //申请推广页面
const applySuccess = () => import('views/my/myExtension/applySuccess') //申请成功
const extensionJump = () => import('views/my/myExtension/extensionJump') //去推广页面
const myExtension = () => import('views/my/myExtension/myExtension') //我的分享
const extensionRule = () => import('views/my/myExtension/extensionRule') //推广规则
const extensionAchievement = () => import('views/my/myExtension/extensionAchievement') //推广业绩
const extensionDet = () => import('views/my/myExtension/extensionDet') //佣金明细
const extensionUsageRecord = () => import('views/my/myExtension/usageRecord') //佣金明细
const extensionUsageRecordDetail = () => import('views/my/myExtension/usageRecordDetail') //佣金明细
const toApplyCash = () => import('views/my/myExtension/toApplyCash') //申请提现(佣金)
const withdrawProblem = () => import('views/my/myExtension/withdrawProblem') //申请提现(佣金)
const extensionBill = () => import('views/my/myExtension/extensionBill') //佣金详情
const extensionWithdraw = () => import('views/my/myExtension/extensionWithdraw') //提现记录(佣金)
const customer = () => import('views/my/myExtension/customer') //累计客户
const topromote = () => import('views/my/myExtension/topromote') //分享订单
const extensionList = () => import('views/my/myExtension/extensionList') //分享商品列表
const chooseAccount = () => import('views/my/myExtension/chooseAccount') //添加银行卡
const addBankCard = () => import('views/my/myExtension/addBankCard') //添加银行卡
const withdrawalResult = () => import('views/my/myExtension/withdrawalResult') //提现结果
const ruleDetail = () => import('views/my/myExtension/ruleDetail') //规则说明第一版 先不做
const growthNum = () => import('views/my/myExtension/growthNum') //成长数值
const shareRule = () => import('views/my/myExtension/shareRule') //规则说明缩阉割版
const teamReward = () => import('views/my/myExtension/teamReward') // 团队奖励页面
const teamRewardExplain = () => import('views/my/myExtension/teamRewardExplain') //团队奖励说明页面
const teamDistribution = () => import('views/my/myExtension/teamDistribution') // 达标奖励页面
const teamDistributionExplain = () => import('views/my/myExtension/teamDistributionExplain') // 达标奖励说明页面
const groupBuy = () => import('views/zuopin/groupBuy') // 团购咨询页面
const contentCenter = () => import('views/contentCenter') //内容中心
const article = () => import('views/contentCenter/article') //内容文章

export default [
    {
        path: '/pages/fight/fight',
        component: fightList,
        meta: {
            title: '拼团列表',
            keepAlive: false, //添加该字段，表示需要不缓存
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '拼团' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/fightDetail',
        component: fightDetail,
        meta: {
            title: '商品详情',
            titleName: '商品详情',
            showHeadBox: false, //显示HeadBox组件
            keepAlive: false, //添加该字段，表示需要不缓存
            requireAuth: false // 添加该字段，表示进入这个路由是需要登录的
        }
    },
    {
        path: '/fightgroupDetail',
        name: 'fightgroupDetail',
        component: fightgroupDetail,
        meta: {
            title: '拼团详情',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: true, //显示HeadBox组件
            component: fightgroupDetail,
            titleName: '拼团详情' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/fightRule',
        name: 'fightRule',
        component: fightRule,
        meta: {
            title: '拼团玩法',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            component: fightRule,
            titleName: '拼团玩法' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/fightMore',
        name: 'fightMore',
        component: fightMore,
        meta: {
            title: '拼团列表',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '拼团列表' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/fightSubmitOrder',
        name: 'fightSubmitOrder',
        component: fightSubmitOrder,
        meta: {
            title: '订单详情',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false //显示HeadBox组件
        }
    },

    {
        path: '/withdrawProblem',
        component: withdrawProblem,
        meta: {
            title: '帮助中心',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '帮助中心' //HeadBox组件中间显示的文字
        }
    },

    {
        path: '/chooseAccount',
        component: chooseAccount,
        meta: {
            title: '选择账户',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '选择账户' //HeadBox组件中间显示的文字
        }
    },

    {
        path: '/addBankCard',
        component: addBankCard,
        meta: {
            title: '添加银行卡',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '添加银行卡' //HeadBox组件中间显示的文字
        }
    },

    {
        path: '/applyExtension',
        component: applyExtension,
        meta: {
            title: '我的分享',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '我的分享' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/applySuccess',
        component: applySuccess,
        meta: {
            title: '申请成功',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '申请成功' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/extensionJump',
        component: extensionJump,
        meta: {
            title: '跳转中',
            keepAlive: false, //添加该字段，表示需要不缓存
            requireAuth: false // 添加该字段，表示进入这个路由是需要登录的
        }
    },
    {
        path: '/myExtension',
        component: myExtension,
        meta: {
            title: '我的分享',
            showHeadBox: false, //显示HeadBox组件
            titleName: '我的分享' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/extensionRule',
        name: 'extensionRule',
        component: extensionRule,
        meta: {
            title: '推广规则',
            showHeadBox: false, //显示HeadBox组件
            titleName: '推广规则' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/customer',
        name: 'customer',
        component: customer,
        meta: {
            title: '我的分享',
            showHeadBox: false, //显示HeadBox组件
            titleName: '我的分享' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/topromote',
        name: 'topromote',
        component: topromote,
        meta: {
            title: '分享订单',
            showHeadBox: false, //显示HeadBox组件
            titleName: '分享订单' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/extensionList',
        name: 'extensionList',
        component: extensionList,
        meta: {
            title: '分享商品'
        }
    },
    {
        path: '/myExtension/extensionAchievement',
        name: 'extensionAchievement',
        component: extensionAchievement,
        meta: {
            title: '推广业绩',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '推广业绩' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/extensionDet',
        name: 'extensionDet',
        component: extensionDet,
        meta: {
            title: '佣金明细',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '佣金明细' //HeadBox组件中间显示的文字
        }
    },
	{
	    path: '/myExtension/usageRecord',
	    name: 'extensionUsageRecord',
	    component: extensionUsageRecord,
	    meta: {
	        title: '使用记录',
	        requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
	        showHeadBox: false, //显示HeadBox组件
	        titleName: '使用记录' //HeadBox组件中间显示的文字
	    }
	},
	{
	    path: '/myExtension/usageRecordDetail',
	    name: 'extensionUsageRecordDetail',
	    component: extensionUsageRecordDetail,
	    meta: {
	        title: '详情',
	        requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
	        showHeadBox: false, //显示HeadBox组件
	        titleName: '详情' //HeadBox组件中间显示的文字
	    }
	},
    {
        path: '/myExtension/toApplyCash',
        name: 'toApplyCash',
        component: toApplyCash,
        meta: {
            title: '提现',
            keepAlive: false,
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '提现' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/withdrawalResult',
        name: 'withdrawalResult',
        component: withdrawalResult,
        meta: {
            title: '提现结果',
            keepAlive: false,
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '提现结果' //HeadBox组件中间显示的文字
        }
    },

    {
        path: '/myExtension/extensionBill',
        name: 'extensionBill',
        component: extensionBill,
        meta: {
            title: '佣金详情',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: true, //显示HeadBox组件
            titleName: '佣金详情' //HeadBox组件中间显示的文字
        }
    },

    {
        path: '/myExtension/extensionWithdraw',
        name: 'extensionWithdraw',
        component: extensionWithdraw,
        meta: {
            title: '提现记录',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '提现记录' //HeadBox组件中间显示的文字
        }
    },
    // TODO规则说明设计版 先不做
    // {
    //     path: '/ruleDetail',
    //     name: 'ruleDetail',
    //     component: ruleDetail,
    //     meta: {
    //         title: '规则详情',
    //         requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
    //         showHeadBox: false, //显示HeadBox组件
    //         titleName: '规则详情' //HeadBox组件中间显示的文字
    //     }
    // },
    {
        path: '/myExtension/growthNum',
        name: 'growthNum',
        component: growthNum,
        meta: {
            title: '成长数值',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '成长数值' //HeadBox组件中间显示的文字
        }
    },
    // 规则详情说明阉割版
    {
        path: '/shareRule',
        name: 'shareRule',
        component: shareRule,
        meta: {
            title: '规则详情',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '规则详情' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/teamReward',
        name: 'teamReward',
        component: teamReward,
        meta: {
            title: '团队业绩奖励',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '团队业绩奖励' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/teamRewardExplain',
        name: 'teamRewardExplain',
        component: teamRewardExplain,
        meta: {
            title: '团队业绩奖励说明',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '团队业绩奖励说明' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/myExtension/teamDistribution',
        name: 'teamDistribution',
        component: teamDistribution,
        meta: {
            title: '达标奖励',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '达标奖励' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/teamDistributionExplain',
        name: 'teamDistributionExplain',
        component: teamDistributionExplain,
        meta: {
            title: '达标奖励说明',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '达标奖励说明' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/groupBuy',
        name: 'groupBuy',
        component: groupBuy,
        meta: {
            title: '团购咨询',
            requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
            showHeadBox: false, //显示HeadBox组件
            titleName: '团购咨询' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/contentCenter',
        name: 'contentCenter',
        component: contentCenter,
        meta: {
            title: '内容中心',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            keepAlive: true, //添加该字段，表示需要缓存
            showHeadBox: false, //显示HeadBox组件
            titleName: '内容中心' //HeadBox组件中间显示的文字
        }
    },
    {
        path: '/contentCenter/article',
        name: 'article',
        component: article,
        meta: {
            title: '内容中心',
            requireAuth: false, // 添加该字段，表示进入这个路由是需要登录的
            keepAlive: false, //添加该字段，表示需要缓存
            showHeadBox: false, //显示HeadBox组件
            titleName: '内容中心' //HeadBox组件中间显示的文字
        }
    }
]
